package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.domain.vo.PageBeanVo;

// 评论服务
public interface CommentService {

    // 保存动态评论
    Integer saveMovementComment(Comment comment);

    // 删除动态评论
    Integer deleteMovementComment(String movementId,Long userId,Integer commentType);

    // 分页查询动态评论列表
    PageBeanVo findMovementCommentByPage(Integer pageNum,Integer pageSize,String movementId);

    // 查看对你评论的用户信息
    PageBeanVo findCommentByPage(Integer pageNum,Integer pageSize,Long userId,Integer commentType);
}
